<template>
	<view class="p-3">
		<view class="text-center font-bold mb-4">用户使用协议</view>
		<u-parse :content="agreementContent.content"></u-parse>
	</view>
</template>

<script>
	import {
		appAgreement
	} from '@/common/api/login.js'
	export default {
		name: "",
		data() {
			return {
				agreementContent: {}
			}
		},
		onLoad() {
			this.getappAgreement();
		},
		watch: {},
		computed: {},
		methods: {
			getappAgreement() {
				appAgreement({
					channelId: '3001',
					type: '6001'
				}).then(res => {
					this.agreementContent = res.data[0]
				})
			},
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #fff;
		min-height: 100vh;
	}
</style>